.class public Lcom/instagram/android/nux/a/e;
.super Ljava/lang/Object;
.source "RegistrationWaterfall.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/nux/a/a;

.field private b:Lcom/instagram/b/b;


# direct methods
.method public constructor <init>(Lcom/instagram/android/nux/a/a;Ljava/lang/String;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 55
    iput-object p1, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 56
    new-instance v0, Lcom/instagram/b/b;

    const-string v1, "registration_step"

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    iput-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    .line 57
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "step"

    invoke-virtual {v0, v1, p2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    .line 58
    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;I)Lcom/instagram/android/nux/a/e;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 66
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    invoke-virtual {v0, p1, p2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 67
    return-object p0
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/android/nux/a/e;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 61
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    invoke-virtual {v0, p1, p2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    .line 62
    return-object p0
.end method

.method public a(Ljava/lang/String;Z)Lcom/instagram/android/nux/a/e;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 81
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    invoke-virtual {v0, p1, p2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 82
    return-object p0
.end method

.method public a()V
    .locals 6

    .prologue
    .line 86
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "waterfall_id"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->c(Lcom/instagram/android/nux/a/a;)Ljava/util/UUID;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v0

    const-string v1, "entry_point"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->b(Lcom/instagram/android/nux/a/a;)Lcom/instagram/android/nux/a/d;

    move-result-object v2

    invoke-virtual {v2}, Lcom/instagram/android/nux/a/d;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v0

    const-string v1, "start_time"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->a(Lcom/instagram/android/nux/a/a;)J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;J)Lcom/instagram/b/b;

    move-result-object v0

    const-string v1, "duration"

    new-instance v2, Ljava/util/Date;

    invoke-direct {v2}, Ljava/util/Date;-><init>()V

    invoke-virtual {v2}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    iget-object v4, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v4}, Lcom/instagram/android/nux/a/a;->a(Lcom/instagram/android/nux/a/a;)J

    move-result-wide v4

    sub-long/2addr v2, v4

    invoke-virtual {v0, v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;J)Lcom/instagram/b/b;

    .line 90
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->d(Lcom/instagram/android/nux/a/a;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 91
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "experiment_group"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->d(Lcom/instagram/android/nux/a/a;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    .line 93
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->e(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 94
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_username_typed"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->f(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 96
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->e(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 97
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_username_found"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->e(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 99
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->g(Lcom/instagram/android/nux/a/a;)I

    move-result v0

    if-lez v0, :cond_3

    .line 100
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_username_errors"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->g(Lcom/instagram/android/nux/a/a;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 102
    :cond_3
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->h(Lcom/instagram/android/nux/a/a;)I

    move-result v0

    if-lez v0, :cond_4

    .line 103
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_signup_errors"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->h(Lcom/instagram/android/nux/a/a;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 105
    :cond_4
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->i(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 106
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_fb_connect"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->i(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 108
    :cond_5
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->j(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 109
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_vk_connect"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->j(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 111
    :cond_6
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->k(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 112
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_fb_findfriends"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->k(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 113
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_fb_matched"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->l(Lcom/instagram/android/nux/a/a;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 115
    :cond_7
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->m(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 116
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_vk_findfriends"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->m(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 117
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_vk_matched"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->n(Lcom/instagram/android/nux/a/a;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 119
    :cond_8
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->o(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 120
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_contacts_findfriends"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->o(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 121
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_contacts_matched"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->p(Lcom/instagram/android/nux/a/a;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 123
    :cond_9
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->q(Lcom/instagram/android/nux/a/a;)Z

    move-result v0

    if-eqz v0, :cond_a

    .line 124
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_sul"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->q(Lcom/instagram/android/nux/a/a;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Z)Lcom/instagram/b/b;

    .line 125
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_sul_matched"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->r(Lcom/instagram/android/nux/a/a;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 127
    :cond_a
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v0}, Lcom/instagram/android/nux/a/a;->s(Lcom/instagram/android/nux/a/a;)I

    move-result v0

    if-lez v0, :cond_b

    .line 128
    iget-object v0, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    const-string v1, "reg_friends_followed"

    iget-object v2, p0, Lcom/instagram/android/nux/a/e;->a:Lcom/instagram/android/nux/a/a;

    invoke-static {v2}, Lcom/instagram/android/nux/a/a;->s(Lcom/instagram/android/nux/a/a;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    .line 130
    :cond_b
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/nux/a/e;->b:Lcom/instagram/b/b;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->a(Lcom/instagram/b/b;)V

    .line 131
    return-void
.end method
